package raochang.pojo.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@TableName("readers")
public class Reader {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 读者名称
     */
    @TableField("reader_name")
    private String readerName;
    /**
     * 读者条码
     */
    @TableField("reader_code")
    private String readerCode;
    /**
     * 读者ID
     */
    @TableField("reader_id")
    private Long readerId;
    /**
     * 借书数量
     */
    @TableField("borrow_num")
    private int borrowNum;

}
